package cn.com.headfree.entity;

import cn.com.headfree.util.FieldMeta;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gta.edu.sdk.mybatis.common.Entity;

import java.io.Serializable;
import java.util.Date;
/**
 * 挂职轮岗信息 实体类
 * @author yangwang
 * @date 2020-07-22 15:59:48
 */
public class TRotationInfo extends Entity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 挂职开始时间
	 */
	@FieldMeta(name="startTime",description="开始时间")
	@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
	private Date startTime;

	/**
	 * 挂职结束时间
	 */
	@FieldMeta(name="endTime",description="结束时间")
	@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
	private Date endTime;

	/**
	 * 挂职单位*/
	@FieldMeta(name="rotationDept",description="挂职单位")
	private String rotationDept;
	
	/**
	 * 挂职部门*/
	@FieldMeta(name="rotationOrg",description="挂职部门")
	private String rotationOrg;
	
	/**
	 * 挂职岗位*/
	@FieldMeta(name="rotationPost",description="挂职岗位")
	private String rotationPost;
	
  	/**
	 * 创建者id
	*/
    private String createrId;
    
    /**
	 * 创建者姓名
	*/
    private String createrName;
    
    /**
	 * 创建时间
	*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    
    /**
	 * 更新者id
	*/
    private String updaterId;
    
    /**
	 * 更新者姓名
	*/
    private String updaterName;
    
    /**
	 * 更新时间
	*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;
    
    /**
	 * 0:未删除1：已删除
	*/
    private Integer delSign;
    
    /**
	 * 是否有效数据(0:有效，1:无效)
	*/
    private Integer isValid;
    
    /**
	 * 审核状态
	*/
    private Integer auditState;

	/**
	 * 上一条数据ID
	 */
	private String orignalId;
	
	/**
	 * 流程最终状态 */
	private Integer flowStatus;
	
	/**
	 * 业务类型id */
	private String businessTypeId;
	
	/**
	 * 统一权限用户id */
	private String iscUserId;

	/**
	 * 单位ID */
	private String orgId;

	/**
	 * 审核人erpNo
	 * @return
	 */
	private String auditErpNo;

	/**
	 * 新增或修改标识(新增：0，修改：1)
	 * @return
	 */
	private String isAdd;

	/**
	 * 原始数据ID
	 */
	private String primitiveId;

	private String erpNo;

	private String userName;
	
	/**
	 * 请求token 
	 * @author yangwang
	 * */
	private String token;

	/**
	 * 如果是对进度查看里面驳回或不通过的数据进行编辑
	 * 那么要把这条数据的ID带到后端，以便获取这条数据，并和修改后的数据进行比较
	 * 得到日志记录
	 * @return
	 */
	private String progressCheckId;

	/**
	 * 是否被覆盖(0:未被覆盖,1:被覆盖)
	 */
	private Integer isCover;

	public Integer getIsCover() {
		return isCover;
	}

	public void setIsCover(Integer isCover) {
		this.isCover = isCover;
	}

	public String getProgressCheckId() {
		return progressCheckId;
	}

	public void setProgressCheckId(String progressCheckId) {
		this.progressCheckId = progressCheckId;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getErpNo() {
		return erpNo;
	}

	public void setErpNo(String erpNo) {
		this.erpNo = erpNo;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getRotationDept() {
		return rotationDept;
	}

	public void setRotationDept(String rotationDept) {
		this.rotationDept = rotationDept;
	}

	public String getRotationOrg() {
		return rotationOrg;
	}

	public void setRotationOrg(String rotationOrg) {
		this.rotationOrg = rotationOrg;
	}

	public String getRotationPost() {
		return rotationPost;
	}

	public void setRotationPost(String rotationPost) {
		this.rotationPost = rotationPost;
	}

	public String getCreaterId() {
		return createrId;
	}

	public void setCreaterId(String createrId) {
		this.createrId = createrId;
	}

	public String getCreaterName() {
		return createrName;
	}

	public void setCreaterName(String createrName) {
		this.createrName = createrName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUpdaterId() {
		return updaterId;
	}

	public void setUpdaterId(String updaterId) {
		this.updaterId = updaterId;
	}

	public String getUpdaterName() {
		return updaterName;
	}

	public void setUpdaterName(String updaterName) {
		this.updaterName = updaterName;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getDelSign() {
		return delSign;
	}

	public void setDelSign(Integer delSign) {
		this.delSign = delSign;
	}

	public Integer getIsValid() {
		return isValid;
	}

	public void setIsValid(Integer isValid) {
		this.isValid = isValid;
	}

	public Integer getAuditState() {
		return auditState;
	}

	public void setAuditState(Integer auditState) {
		this.auditState = auditState;
	}

	public String getOrignalId() {
		return orignalId;
	}

	public void setOrignalId(String orignalId) {
		this.orignalId = orignalId;
	}

	public Integer getFlowStatus() {
		return flowStatus;
	}

	public void setFlowStatus(Integer flowStatus) {
		this.flowStatus = flowStatus;
	}

	public String getBusinessTypeId() {
		return businessTypeId;
	}

	public void setBusinessTypeId(String businessTypeId) {
		this.businessTypeId = businessTypeId;
	}

	public String getIscUserId() {
		return iscUserId;
	}

	public void setIscUserId(String iscUserId) {
		this.iscUserId = iscUserId;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getAuditErpNo() {
		return auditErpNo;
	}

	public void setAuditErpNo(String auditErpNo) {
		this.auditErpNo = auditErpNo;
	}

	public String getIsAdd() {
		return isAdd;
	}

	public void setIsAdd(String isAdd) {
		this.isAdd = isAdd;
	}

	public String getPrimitiveId() {
		return primitiveId;
	}

	public void setPrimitiveId(String primitiveId) {
		this.primitiveId = primitiveId;
	}
	
}
